const OS = require('./os/index')
const { platform } = require('os')

let BaseOS = OS
switch (platform()) {
    case 'win32':
        BaseOS = require('./os/win32/index')
        break
    case 'linux':
        BaseOS = require('./os/linux/index')
        break
}

module.exports = new BaseOS()
